package com.example.mapper;

import com.example.entity.TUser;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author 27408
* @description 针对表【t_user(用户表)】的数据库操作Mapper
* @createDate 2024-10-02 22:40:49
* @Entity com.example.entity.TUser
*/
public interface TUserMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(TUser record);

    int insertSelective(TUser record);

    TUser selectByPrimaryKey(Long id);

    int updateByPrimaryKey(TUser record);

    TUser selectByLoginAct(String username);

    List<TUser> loadUserByPage();

    int editUserByPrimaryKey(TUser userInfo);

    int addUserInfo(TUser tUser);

    TUser loadUserByUserId(int id);

    int batchDelUserInfo(List<String> idList);

    int saveUser(List<TUser> tUserList);
}
